package com.storlead.security.service;

import com.alibaba.fastjson.JSONObject;
import com.storlead.security.model.SysUser;

/**
 * @Author: Timo
 * @Date: 2019/3/15 09:42
 * @Description: 管理后台用户功能服务接口
 */
public interface SysUserService {

    /**
     * @param sysUserId
     * @return
     * @Author: timo
     * @Date: 2019/3/15 09:44
     * @Description: 根据用户Id查询用户
     */
    SysUser findById(Integer sysUserId);

    /**
     * @param userName
     * @return
     * @Author: timo
     * @Date: 2019/3/15 09:45
     * @Description: 根据用户名查找用户
     */
    SysUser findByUserName(String userName);
}
